Shuffle and print a specified listΒΆ
Shuffle and print a specified list.
from random import shuffle
color = ['Red', 'Green', 'White', 'Black', 'Pink', 'Yellow']
shuffle(color)
print(color) # ['Yellow', 'Pink', 'Green', 'Red', 'Black', 'White']